package me.ZFC.Text;

public class Test7 {
    public static void main(String[] args) {
        String id = "411403200607100058";
        String year = id.substring(6, 10);
        String month = id.substring(10, 12);
        String day = id.substring(12, 14);
        System.out.println("人物信息为：");
        System.out.println("出生年月日为：" + year + "年" + month + "月" + day + "日");
        String sex=id.substring(16,17);
        System.out.println(sex);


    }
}
